#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" "10.2-r0")" = "<" ]; then
	cat >&2 <<-EOF
	*
	* If you use contrib/cube's cube ~> int operator, you have to reindex/refresh
	* all expression indexes and materialized views using this operator.
	* Read https://www.postgresql.org/docs/10/static/release-10-2.html.
	*
	EOF
fi

exit 0
